﻿//创建时间: 2010-10-11
//创建作者: 李 城
//功能说明: 文字替换
//最后修改: 2010-10-11
using System;
using System.Collections.Generic;
using System.Text;

using TRPOP.Common;

namespace TRPOP.CMS.Model
{
    [Serializable]
    public class WordReplaceInfo
    {
        #region 私有变量
        private int m_intWordReplaceId = 0;
        private string m_strWordReplaceName = "";
        private string m_strOldValue = "";
        private string m_strNewValue = "";
        private string m_strNodeids = "";
        private DateTime m_datAddTime = StringExtension.NullDateTime;
        private int m_intAddUserId = 0;
        private int m_intType = 0;
        #endregion

        #region 成员函数

        /// <summary>
        ///  Id
        /// </summary>
        [DataAttribute(FieldType.DBField)]
        public int WordReplaceId
        {
            get
            {
                return m_intWordReplaceId;
            }
            set
            {
                m_intWordReplaceId = value;
            }
        }

        /// <summary>
        ///  名称
        /// </summary>
        [DataAttribute(FieldType.DBField)]
        public string WordReplaceName
        {
            get
            {
                return m_strWordReplaceName;
            }
            set
            {
                m_strWordReplaceName = value;
            }
        }

        /// <summary>
        ///  待替换的文字
        /// </summary>
        [DataAttribute(FieldType.DBField)]
        public string OldValue
        {
            get
            {
                return m_strOldValue;
            }
            set
            {
                m_strOldValue = value;
            }
        }

        /// <summary>
        ///  替换后的值
        /// </summary>
        [DataAttribute(FieldType.DBField)]
        public string NewValue
        {
            get
            {
                return m_strNewValue;
            }
            set
            {
                m_strNewValue = value;
            }
        }

        /// <summary>
        ///  结点范围
        /// </summary>
        [DataAttribute(FieldType.DBField)]
        public string Nodeids
        {
            get
            {
                return m_strNodeids;
            }
            set
            {
                m_strNodeids = value;
            }
        }

        /// <summary>
        ///  添加时间
        /// </summary>
        [DataAttribute(FieldType.DBField)]
        public DateTime AddTime
        {
            get
            {
                return m_datAddTime;
            }
            set
            {
                m_datAddTime = value;
            }
        }

        /// <summary>
        ///  添加者id
        /// </summary>
        [DataAttribute(FieldType.DBField)]
        public int AddUserId
        {
            get
            {
                return m_intAddUserId;
            }
            set
            {
                m_intAddUserId = value;
            }
        }

        /// <summary>
        ///  类型
        /// </summary>
        [DataAttribute(FieldType.DBField)]
        public int Type
        {
            get
            {
                return m_intType;
            }
            set
            {
                m_intType = value;
            }
        }

        #endregion

    }
}

